3.93 \(\int \frac{(d+c d x)^3 (a+b \tanh ^{-1}(c x))^2}{x^6} \, dx\)

Optimal. Leaf size=352 \[ -\frac{6}{5} b^2 c^5 d^3 \text{PolyLog}(2,-c x)+\frac{6}{5} b^2 c^5 d^3 \text{PolyLog}(2,c x)+\frac{6}{5} b^2 c^5 d^3 \text{PolyLog}\left (2,1-\frac{2}{1-c x}\right )-\frac{6 b c^3 d^3 \left (a+b \tanh ^{-1}(c x)\right )}{5 x^2}-\frac{b c^2 d^3 \left (a+b \tanh ^{-1}(c x)\right )}{2 x^3}+\frac{12}{5} a b c^5 d^3 \log (x)-\frac{5 b c^4 d^3 \left (a+b \tanh ^{-1}(c x)\right )}{2 x}+\frac{12}{5} b c^5 d^3 \log \left (\frac{2}{1-c x}\right ) \left (a+b \tanh ^{-1}(c x)\right )+\frac{c d^3 (c x+1)^4 \left (a+b \tanh ^{-1}(c x)\right )^2}{20 x^4}-\frac{b c d^3 \left (a+b \tanh ^{-1}(c x)\right )}{10 x^4}-\frac{d^3 (c x+1)^4 \left (a+b \tanh ^{-1}(c x)\right )^2}{5 x^5}-\frac{b^2 c^3 d^3}{4 x^2}-\frac{b^2 c^2 d^3}{30 x^3}-\frac{3}{2} b^2 c^5 d^3 \log \left (1-c^2 x^2\right )-\frac{13 b^2 c^4 d^3}{10 x}+3 b^2 c^5 d^3 \log (x)+\frac{13}{10} b^2 c^5 d^3 \tanh ^{-1}(c x) \]

[Out]

-(b^2*c^2*d^3)/(30*x^3) - (b^2*c^3*d^3)/(4*x^2) - (13*b^2*c^4*d^3)/(10*x) + (13*b^2*c^5*d^3*ArcTanh[c*x])/10 -
 (b*c*d^3*(a + b*ArcTanh[c*x]))/(10*x^4) - (b*c^2*d^3*(a + b*ArcTanh[c*x]))/(2*x^3) - (6*b*c^3*d^3*(a + b*ArcT
anh[c*x]))/(5*x^2) - (5*b*c^4*d^3*(a + b*ArcTanh[c*x]))/(2*x) - (d^3*(1 + c*x)^4*(a + b*ArcTanh[c*x])^2)/(5*x^
5) + (c*d^3*(1 + c*x)^4*(a + b*ArcTanh[c*x])^2)/(20*x^4) + (12*a*b*c^5*d^3*Log[x])/5 + 3*b^2*c^5*d^3*Log[x] +
(12*b*c^5*d^3*(a + b*ArcTanh[c*x])*Log[2/(1 - c*x)])/5 - (3*b^2*c^5*d^3*Log[1 - c^2*x^2])/2 - (6*b^2*c^5*d^3*P
olyLog[2, -(c*x)])/5 + (6*b^2*c^5*d^3*PolyLog[2, c*x])/5 + (6*b^2*c^5*d^3*PolyLog[2, 1 - 2/(1 - c*x)])/5

________________________________________________________________________________________

Rubi [A]  time = 0.368186, antiderivative size = 352, normalized size of antiderivative = 1., number of steps used = 22, number of rules used = 15, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.682, Rules used = {45, 37, 5938, 5916, 325, 206, 266, 44, 36, 29, 31, 5912, 5918, 2402, 2315} \[ -\frac{6}{5} b^2 c^5 d^3 \text{PolyLog}(2,-c x)+\frac{6}{5} b^2 c^5 d^3 \text{PolyLog}(2,c x)+\frac{6}{5} b^2 c^5 d^3 \text{PolyLog}\left (2,1-\frac{2}{1-c x}\right )-\frac{6 b c^3 d^3 \left (a+b \tanh ^{-1}(c x)\right )}{5 x^2}-\frac{b c^2 d^3 \left (a+b \tanh ^{-1}(c x)\right )}{2 x^3}+\frac{12}{5} a b c^5 d^3 \log (x)-\frac{5 b c^4 d^3 \left (a+b \tanh ^{-1}(c x)\right )}{2 x}+\frac{12}{5} b c^5 d^3 \log \left (\frac{2}{1-c x}\right ) \left (a+b \tanh ^{-1}(c x)\right )+\frac{c d^3 (c x+1)^4 \left (a+b \tanh ^{-1}(c x)\right )^2}{20 x^4}-\frac{b c d^3 \left (a+b \tanh ^{-1}(c x)\right )}{10 x^4}-\frac{d^3 (c x+1)^4 \left (a+b \tanh ^{-1}(c x)\right )^2}{5 x^5}-\frac{b^2 c^3 d^3}{4 x^2}-\frac{b^2 c^2 d^3}{30 x^3}-\frac{3}{2} b^2 c^5 d^3 \log \left (1-c^2 x^2\right )-\frac{13 b^2 c^4 d^3}{10 x}+3 b^2 c^5 d^3 \log (x)+\frac{13}{10} b^2 c^5 d^3 \tanh ^{-1}(c x) \]

Antiderivative was successfully verified.

[In]

Int[((d + c*d*x)^3*(a + b*ArcTanh[c*x])^2)/x^6,x]

[Out]

-(b^2*c^2*d^3)/(30*x^3) - (b^2*c^3*d^3)/(4*x^2) - (13*b^2*c^4*d^3)/(10*x) + (13*b^2*c^5*d^3*ArcTanh[c*x])/10 -
 (b*c*d^3*(a + b*ArcTanh[c*x]))/(10*x^4) - (b*c^2*d^3*(a + b*ArcTanh[c*x]))/(2*x^3) - (6*b*c^3*d^3*(a + b*ArcT
anh[c*x]))/(5*x^2) - (5*b*c^4*d^3*(a + b*ArcTanh[c*x]))/(2*x) - (d^3*(1 + c*x)^4*(a + b*ArcTanh[c*x])^2)/(5*x^
5) + (c*d^3*(1 + c*x)^4*(a + b*ArcTanh[c*x])^2)/(20*x^4) + (12*a*b*c^5*d^3*Log[x])/5 + 3*b^2*c^5*d^3*Log[x] +
(12*b*c^5*d^3*(a + b*ArcTanh[c*x])*Log[2/(1 - c*x)])/5 - (3*b^2*c^5*d^3*Log[1 - c^2*x^2])/2 - (6*b^2*c^5*d^3*P
olyLog[2, -(c*x)])/5 + (6*b^2*c^5*d^3*PolyLog[2, c*x])/5 + (6*b^2*c^5*d^3*PolyLog[2, 1 - 2/(1 - c*x)])/5

Rule 45

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[((a + b*x)^(m + 1)*(c + d*x)^(n + 1
))/((b*c - a*d)*(m + 1)), x] - Dist[(d*Simplify[m + n + 2])/((b*c - a*d)*(m + 1)), Int[(a + b*x)^Simplify[m +
1]*(c + d*x)^n, x], x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[b*c - a*d, 0] && ILtQ[Simplify[m + n + 2], 0] &&
 NeQ[m, -1] &&  !(LtQ[m, -1] && LtQ[n, -1] && (EqQ[a, 0] || (NeQ[c, 0] && LtQ[m - n, 0] && IntegerQ[n]))) && (
SumSimplerQ[m, 1] ||  !SumSimplerQ[n, 1])

Rule 37

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[((a + b*x)^(m + 1)*(c + d*x)^(n +
1))/((b*c - a*d)*(m + 1)), x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[b*c - a*d, 0] && EqQ[m + n + 2, 0] && NeQ
[m, -1]

Rule 5938

Int[((a_.) + ArcTanh[(c_.)*(x_)]*(b_.))^(p_)*((f_.)*(x_))^(m_.)*((d_.) + (e_.)*(x_))^(q_), x_Symbol] :> With[{
u = IntHide[(f*x)^m*(d + e*x)^q, x]}, Dist[(a + b*ArcTanh[c*x])^p, u, x] - Dist[b*c*p, Int[ExpandIntegrand[(a
+ b*ArcTanh[c*x])^(p - 1), u/(1 - c^2*x^2), x], x], x]] /; FreeQ[{a, b, c, d, e, f, q}, x] && IGtQ[p, 1] && Eq
Q[c^2*d^2 - e^2, 0] && IntegersQ[m, q] && NeQ[m, -1] && NeQ[q, -1] && ILtQ[m + q + 1, 0] && LtQ[m*q, 0]

Rule 5916

Int[((a_.) + ArcTanh[(c_.)*(x_)]*(b_.))^(p_.)*((d_.)*(x_))^(m_.), x_Symbol] :> Simp[((d*x)^(m + 1)*(a + b*ArcT
anh[c*x])^p)/(d*(m + 1)), x] - Dist[(b*c*p)/(d*(m + 1)), Int[((d*x)^(m + 1)*(a + b*ArcTanh[c*x])^(p - 1))/(1 -
 c^2*x^2), x], x] /; FreeQ[{a, b, c, d, m}, x] && IGtQ[p, 0] && (EqQ[p, 1] || IntegerQ[m]) && NeQ[m, -1]

Rule 325

Int[((c_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[((c*x)^(m + 1)*(a + b*x^n)^(p + 1))/(a*
c*(m + 1)), x] - Dist[(b*(m + n*(p + 1) + 1))/(a*c^n*(m + 1)), Int[(c*x)^(m + n)*(a + b*x^n)^p, x], x] /; Free
Q[{a, b, c, p}, x] && IGtQ[n, 0] && LtQ[m, -1] && IntBinomialQ[a, b, c, n, m, p, x]

Rule 206

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTanh[(Rt[-b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[-b, 2]), x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rule 266

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a
+ b*x)^p, x], x, x^n], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simplify[(m + 1)/n]]

Rule 44

Int[((a_) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d*
x)^n, x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - a*d, 0] && ILtQ[m, 0] && IntegerQ[n] &&  !(IGtQ[n, 0] && L
tQ[m + n + 2, 0])

Rule 36

Int[1/(((a_.) + (b_.)*(x_))*((c_.) + (d_.)*(x_))), x_Symbol] :> Dist[b/(b*c - a*d), Int[1/(a + b*x), x], x] -
Dist[d/(b*c - a*d), Int[1/(c + d*x), x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - a*d, 0]

Rule 29

Int[(x_)^(-1), x_Symbol] :> Simp[Log[x], x]

Rule 31

Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]

Rule 5912

Int[((a_.) + ArcTanh[(c_.)*(x_)]*(b_.))/(x_), x_Symbol] :> Simp[a*Log[x], x] + (-Simp[(b*PolyLog[2, -(c*x)])/2
, x] + Simp[(b*PolyLog[2, c*x])/2, x]) /; FreeQ[{a, b, c}, x]

Rule 5918

Int[((a_.) + ArcTanh[(c_.)*(x_)]*(b_.))^(p_.)/((d_) + (e_.)*(x_)), x_Symbol] :> -Simp[((a + b*ArcTanh[c*x])^p*
Log[2/(1 + (e*x)/d)])/e, x] + Dist[(b*c*p)/e, Int[((a + b*ArcTanh[c*x])^(p - 1)*Log[2/(1 + (e*x)/d)])/(1 - c^2
*x^2), x], x] /; FreeQ[{a, b, c, d, e}, x] && IGtQ[p, 0] && EqQ[c^2*d^2 - e^2, 0]

Rule 2402

Int[Log[(c_.)/((d_) + (e_.)*(x_))]/((f_) + (g_.)*(x_)^2), x_Symbol] :> -Dist[e/g, Subst[Int[Log[2*d*x]/(1 - 2*
d*x), x], x, 1/(d + e*x)], x] /; FreeQ[{c, d, e, f, g}, x] && EqQ[c, 2*d] && EqQ[e^2*f + d^2*g, 0]

Rule 2315

Int[Log[(c_.)*(x_)]/((d_) + (e_.)*(x_)), x_Symbol] :> -Simp[PolyLog[2, 1 - c*x]/e, x] /; FreeQ[{c, d, e}, x] &
& EqQ[e + c*d, 0]

Rubi steps

\begin{align*} \int \frac{(d+c d x)^3 \left (a+b \tanh ^{-1}(c x)\right )^2}{x^6} \, dx &=-\frac{d^3 (1+c x)^4 \left (a+b \tanh ^{-1}(c x)\right )^2}{5 x^5}+\frac{c d^3 (1+c x)^4 \left (a+b \tanh ^{-1}(c x)\right )^2}{20 x^4}-(2 b c) \int \left (-\frac{d^3 \left (a+b \tanh ^{-1}(c x)\right )}{5 x^5}-\frac{3 c d^3 \left (a+b \tanh ^{-1}(c x)\right )}{4 x^4}-\frac{6 c^2 d^3 \left (a+b \tanh ^{-1}(c x)\right )}{5 x^3}-\frac{5 c^3 d^3 \left (a+b \tanh ^{-1}(c x)\right )}{4 x^2}-\frac{6 c^4 d^3 \left (a+b \tanh ^{-1}(c x)\right )}{5 x}+\frac{6 c^5 d^3 \left (a+b \tanh ^{-1}(c x)\right )}{5 (-1+c x)}\right ) \, dx\\ &=-\frac{d^3 (1+c x)^4 \left (a+b \tanh ^{-1}(c x)\right )^2}{5 x^5}+\frac{c d^3 (1+c x)^4 \left (a+b \tanh ^{-1}(c x)\right )^2}{20 x^4}+\frac{1}{5} \left (2 b c d^3\right ) \int \frac{a+b \tanh ^{-1}(c x)}{x^5} \, dx+\frac{1}{2} \left (3 b c^2 d^3\right ) \int \frac{a+b \tanh ^{-1}(c x)}{x^4} \, dx+\frac{1}{5} \left (12 b c^3 d^3\right ) \int \frac{a+b \tanh ^{-1}(c x)}{x^3} \, dx+\frac{1}{2} \left (5 b c^4 d^3\right ) \int \frac{a+b \tanh ^{-1}(c x)}{x^2} \, dx+\frac{1}{5} \left (12 b c^5 d^3\right ) \int \frac{a+b \tanh ^{-1}(c x)}{x} \, dx-\frac{1}{5} \left (12 b c^6 d^3\right ) \int \frac{a+b \tanh ^{-1}(c x)}{-1+c x} \, dx\\ &=-\frac{b c d^3 \left (a+b \tanh ^{-1}(c x)\right )}{10 x^4}-\frac{b c^2 d^3 \left (a+b \tanh ^{-1}(c x)\right )}{2 x^3}-\frac{6 b c^3 d^3 \left (a+b \tanh ^{-1}(c x)\right )}{5 x^2}-\frac{5 b c^4 d^3 \left (a+b \tanh ^{-1}(c x)\right )}{2 x}-\frac{d^3 (1+c x)^4 \left (a+b \tanh ^{-1}(c x)\right )^2}{5 x^5}+\frac{c d^3 (1+c x)^4 \left (a+b \tanh ^{-1}(c x)\right )^2}{20 x^4}+\frac{12}{5} a b c^5 d^3 \log (x)+\frac{12}{5} b c^5 d^3 \left (a+b \tanh ^{-1}(c x)\right ) \log \left (\frac{2}{1-c x}\right )-\frac{6}{5} b^2 c^5 d^3 \text{Li}_2(-c x)+\frac{6}{5} b^2 c^5 d^3 \text{Li}_2(c x)+\frac{1}{10} \left (b^2 c^2 d^3\right ) \int \frac{1}{x^4 \left (1-c^2 x^2\right )} \, dx+\frac{1}{2} \left (b^2 c^3 d^3\right ) \int \frac{1}{x^3 \left (1-c^2 x^2\right )} \, dx+\frac{1}{5} \left (6 b^2 c^4 d^3\right ) \int \frac{1}{x^2 \left (1-c^2 x^2\right )} \, dx+\frac{1}{2} \left (5 b^2 c^5 d^3\right ) \int \frac{1}{x \left (1-c^2 x^2\right )} \, dx-\frac{1}{5} \left (12 b^2 c^6 d^3\right ) \int \frac{\log \left (\frac{2}{1-c x}\right )}{1-c^2 x^2} \, dx\\ &=-\frac{b^2 c^2 d^3}{30 x^3}-\frac{6 b^2 c^4 d^3}{5 x}-\frac{b c d^3 \left (a+b \tanh ^{-1}(c x)\right )}{10 x^4}-\frac{b c^2 d^3 \left (a+b \tanh ^{-1}(c x)\right )}{2 x^3}-\frac{6 b c^3 d^3 \left (a+b \tanh ^{-1}(c x)\right )}{5 x^2}-\frac{5 b c^4 d^3 \left (a+b \tanh ^{-1}(c x)\right )}{2 x}-\frac{d^3 (1+c x)^4 \left (a+b \tanh ^{-1}(c x)\right )^2}{5 x^5}+\frac{c d^3 (1+c x)^4 \left (a+b \tanh ^{-1}(c x)\right )^2}{20 x^4}+\frac{12}{5} a b c^5 d^3 \log (x)+\frac{12}{5} b c^5 d^3 \left (a+b \tanh ^{-1}(c x)\right ) \log \left (\frac{2}{1-c x}\right )-\frac{6}{5} b^2 c^5 d^3 \text{Li}_2(-c x)+\frac{6}{5} b^2 c^5 d^3 \text{Li}_2(c x)+\frac{1}{4} \left (b^2 c^3 d^3\right ) \operatorname{Subst}\left (\int \frac{1}{x^2 \left (1-c^2 x\right )} \, dx,x,x^2\right )+\frac{1}{10} \left (b^2 c^4 d^3\right ) \int \frac{1}{x^2 \left (1-c^2 x^2\right )} \, dx+\frac{1}{4} \left (5 b^2 c^5 d^3\right ) \operatorname{Subst}\left (\int \frac{1}{x \left (1-c^2 x\right )} \, dx,x,x^2\right )+\frac{1}{5} \left (12 b^2 c^5 d^3\right ) \operatorname{Subst}\left (\int \frac{\log (2 x)}{1-2 x} \, dx,x,\frac{1}{1-c x}\right )+\frac{1}{5} \left (6 b^2 c^6 d^3\right ) \int \frac{1}{1-c^2 x^2} \, dx\\ &=-\frac{b^2 c^2 d^3}{30 x^3}-\frac{13 b^2 c^4 d^3}{10 x}+\frac{6}{5} b^2 c^5 d^3 \tanh ^{-1}(c x)-\frac{b c d^3 \left (a+b \tanh ^{-1}(c x)\right )}{10 x^4}-\frac{b c^2 d^3 \left (a+b \tanh ^{-1}(c x)\right )}{2 x^3}-\frac{6 b c^3 d^3 \left (a+b \tanh ^{-1}(c x)\right )}{5 x^2}-\frac{5 b c^4 d^3 \left (a+b \tanh ^{-1}(c x)\right )}{2 x}-\frac{d^3 (1+c x)^4 \left (a+b \tanh ^{-1}(c x)\right )^2}{5 x^5}+\frac{c d^3 (1+c x)^4 \left (a+b \tanh ^{-1}(c x)\right )^2}{20 x^4}+\frac{12}{5} a b c^5 d^3 \log (x)+\frac{12}{5} b c^5 d^3 \left (a+b \tanh ^{-1}(c x)\right ) \log \left (\frac{2}{1-c x}\right )-\frac{6}{5} b^2 c^5 d^3 \text{Li}_2(-c x)+\frac{6}{5} b^2 c^5 d^3 \text{Li}_2(c x)+\frac{6}{5} b^2 c^5 d^3 \text{Li}_2\left (1-\frac{2}{1-c x}\right )+\frac{1}{4} \left (b^2 c^3 d^3\right ) \operatorname{Subst}\left (\int \left (\frac{1}{x^2}+\frac{c^2}{x}-\frac{c^4}{-1+c^2 x}\right ) \, dx,x,x^2\right )+\frac{1}{4} \left (5 b^2 c^5 d^3\right ) \operatorname{Subst}\left (\int \frac{1}{x} \, dx,x,x^2\right )+\frac{1}{10} \left (b^2 c^6 d^3\right ) \int \frac{1}{1-c^2 x^2} \, dx+\frac{1}{4} \left (5 b^2 c^7 d^3\right ) \operatorname{Subst}\left (\int \frac{1}{1-c^2 x} \, dx,x,x^2\right )\\ &=-\frac{b^2 c^2 d^3}{30 x^3}-\frac{b^2 c^3 d^3}{4 x^2}-\frac{13 b^2 c^4 d^3}{10 x}+\frac{13}{10} b^2 c^5 d^3 \tanh ^{-1}(c x)-\frac{b c d^3 \left (a+b \tanh ^{-1}(c x)\right )}{10 x^4}-\frac{b c^2 d^3 \left (a+b \tanh ^{-1}(c x)\right )}{2 x^3}-\frac{6 b c^3 d^3 \left (a+b \tanh ^{-1}(c x)\right )}{5 x^2}-\frac{5 b c^4 d^3 \left (a+b \tanh ^{-1}(c x)\right )}{2 x}-\frac{d^3 (1+c x)^4 \left (a+b \tanh ^{-1}(c x)\right )^2}{5 x^5}+\frac{c d^3 (1+c x)^4 \left (a+b \tanh ^{-1}(c x)\right )^2}{20 x^4}+\frac{12}{5} a b c^5 d^3 \log (x)+3 b^2 c^5 d^3 \log (x)+\frac{12}{5} b c^5 d^3 \left (a+b \tanh ^{-1}(c x)\right ) \log \left (\frac{2}{1-c x}\right )-\frac{3}{2} b^2 c^5 d^3 \log \left (1-c^2 x^2\right )-\frac{6}{5} b^2 c^5 d^3 \text{Li}_2(-c x)+\frac{6}{5} b^2 c^5 d^3 \text{Li}_2(c x)+\frac{6}{5} b^2 c^5 d^3 \text{Li}_2\left (1-\frac{2}{1-c x}\right )\\ \end{align*}

Mathematica [A]  time = 1.1037, size = 372, normalized size = 1.06 \[ -\frac{d^3 \left (72 b^2 c^5 x^5 \text{PolyLog}\left (2,e^{-2 \tanh ^{-1}(c x)}\right )+30 a^2 c^3 x^3+60 a^2 c^2 x^2+45 a^2 c x+12 a^2+150 a b c^4 x^4+72 a b c^3 x^3+30 a b c^2 x^2-144 a b c^5 x^5 \log (c x)+75 a b c^5 x^5 \log (1-c x)-75 a b c^5 x^5 \log (c x+1)+72 a b c^5 x^5 \log \left (1-c^2 x^2\right )+6 b \tanh ^{-1}(c x) \left (a \left (10 c^3 x^3+20 c^2 x^2+15 c x+4\right )+b c x \left (-13 c^4 x^4+25 c^3 x^3+12 c^2 x^2+5 c x+1\right )-24 b c^5 x^5 \log \left (1-e^{-2 \tanh ^{-1}(c x)}\right )\right )+6 a b c x-15 b^2 c^5 x^5+78 b^2 c^4 x^4+15 b^2 c^3 x^3+2 b^2 c^2 x^2-180 b^2 c^5 x^5 \log \left (\frac{c x}{\sqrt{1-c^2 x^2}}\right )+3 b^2 \left (-49 c^5 x^5+10 c^3 x^3+20 c^2 x^2+15 c x+4\right ) \tanh ^{-1}(c x)^2\right )}{60 x^5} \]

Warning: Unable to verify antiderivative.

[In]

Integrate[((d + c*d*x)^3*(a + b*ArcTanh[c*x])^2)/x^6,x]

[Out]

-(d^3*(12*a^2 + 45*a^2*c*x + 6*a*b*c*x + 60*a^2*c^2*x^2 + 30*a*b*c^2*x^2 + 2*b^2*c^2*x^2 + 30*a^2*c^3*x^3 + 72
*a*b*c^3*x^3 + 15*b^2*c^3*x^3 + 150*a*b*c^4*x^4 + 78*b^2*c^4*x^4 - 15*b^2*c^5*x^5 + 3*b^2*(4 + 15*c*x + 20*c^2
*x^2 + 10*c^3*x^3 - 49*c^5*x^5)*ArcTanh[c*x]^2 + 6*b*ArcTanh[c*x]*(a*(4 + 15*c*x + 20*c^2*x^2 + 10*c^3*x^3) +
b*c*x*(1 + 5*c*x + 12*c^2*x^2 + 25*c^3*x^3 - 13*c^4*x^4) - 24*b*c^5*x^5*Log[1 - E^(-2*ArcTanh[c*x])]) - 144*a*
b*c^5*x^5*Log[c*x] + 75*a*b*c^5*x^5*Log[1 - c*x] - 75*a*b*c^5*x^5*Log[1 + c*x] - 180*b^2*c^5*x^5*Log[(c*x)/Sqr
t[1 - c^2*x^2]] + 72*a*b*c^5*x^5*Log[1 - c^2*x^2] + 72*b^2*c^5*x^5*PolyLog[2, E^(-2*ArcTanh[c*x])]))/(60*x^5)

________________________________________________________________________________________

Maple [B]  time = 0.083, size = 691, normalized size = 2. \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c*d*x+d)^3*(a+b*arctanh(c*x))^2/x^6,x)

[Out]

-1/10*c*d^3*a*b/x^4-3/4*c*d^3*b^2*arctanh(c*x)^2/x^4-1/2*c^3*d^3*b^2*arctanh(c*x)^2/x^2-5/2*c^4*d^3*b^2*arctan
h(c*x)/x-c^2*d^3*b^2*arctanh(c*x)^2/x^3-6/5*c^3*d^3*b^2*arctanh(c*x)/x^2-1/10*c*d^3*b^2*arctanh(c*x)/x^4-6/5*c
^5*d^3*b^2*ln(c*x)*ln(c*x+1)+12/5*c^5*d^3*b^2*arctanh(c*x)*ln(c*x)+49/40*c^5*d^3*b^2*ln(c*x-1)*ln(1/2+1/2*c*x)
-49/20*c^5*d^3*b^2*arctanh(c*x)*ln(c*x-1)+1/20*c^5*d^3*b^2*arctanh(c*x)*ln(c*x+1)+1/40*c^5*d^3*b^2*ln(-1/2*c*x
+1/2)*ln(c*x+1)-1/40*c^5*d^3*b^2*ln(-1/2*c*x+1/2)*ln(1/2+1/2*c*x)-49/20*c^5*d^3*a*b*ln(c*x-1)+12/5*c^5*d^3*a*b
*ln(c*x)-1/2*c^2*d^3*a*b/x^3-5/2*c^4*d^3*a*b/x-6/5*c^3*d^3*a*b/x^2-2/5*d^3*a*b*arctanh(c*x)/x^5-1/30*b^2*c^2*d
^3/x^3-1/4*b^2*c^3*d^3/x^2-13/10*b^2*c^4*d^3/x-1/5*d^3*a^2/x^5-3/4*c*d^3*a^2/x^4-1/2*c^3*d^3*a^2/x^2-c^2*d^3*a
^2/x^3-6/5*c^5*d^3*b^2*dilog(c*x)-6/5*c^5*d^3*b^2*dilog(c*x+1)+3*c^5*d^3*b^2*ln(c*x)-1/80*c^5*d^3*b^2*ln(c*x+1
)^2+6/5*c^5*d^3*b^2*dilog(1/2+1/2*c*x)-43/20*c^5*d^3*b^2*ln(c*x-1)-49/80*c^5*d^3*b^2*ln(c*x-1)^2-17/20*c^5*d^3
*b^2*ln(c*x+1)-1/5*d^3*b^2*arctanh(c*x)^2/x^5-c^3*d^3*a*b*arctanh(c*x)/x^2-2*c^2*d^3*a*b*arctanh(c*x)/x^3-3/2*
c*d^3*a*b*arctanh(c*x)/x^4+1/20*c^5*d^3*a*b*ln(c*x+1)-1/2*c^2*d^3*b^2*arctanh(c*x)/x^3

________________________________________________________________________________________

Maxima [B]  time = 3.1543, size = 1057, normalized size = 3. \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*d*x+d)^3*(a+b*arctanh(c*x))^2/x^6,x, algorithm="maxima")

[Out]

-6/5*(log(c*x + 1)*log(-1/2*c*x + 1/2) + dilog(1/2*c*x + 1/2))*b^2*c^5*d^3 - 6/5*(log(c*x)*log(-c*x + 1) + dil
og(-c*x + 1))*b^2*c^5*d^3 + 6/5*(log(c*x + 1)*log(-c*x) + dilog(c*x + 1))*b^2*c^5*d^3 - 17/20*b^2*c^5*d^3*log(
c*x + 1) - 43/20*b^2*c^5*d^3*log(c*x - 1) + 3*b^2*c^5*d^3*log(x) + 1/2*((c*log(c*x + 1) - c*log(c*x - 1) - 2/x
)*c - 2*arctanh(c*x)/x^2)*a*b*c^3*d^3 - ((c^2*log(c^2*x^2 - 1) - c^2*log(x^2) + 1/x^2)*c + 2*arctanh(c*x)/x^3)
*a*b*c^2*d^3 + 1/4*((3*c^3*log(c*x + 1) - 3*c^3*log(c*x - 1) - 2*(3*c^2*x^2 + 1)/x^3)*c - 6*arctanh(c*x)/x^4)*
a*b*c*d^3 - 1/10*((2*c^4*log(c^2*x^2 - 1) - 2*c^4*log(x^2) + (2*c^2*x^2 + 1)/x^4)*c + 4*arctanh(c*x)/x^5)*a*b*
d^3 - 1/2*a^2*c^3*d^3/x^2 - a^2*c^2*d^3/x^3 - 3/4*a^2*c*d^3/x^4 - 1/5*a^2*d^3/x^5 - 1/240*(312*b^2*c^4*d^3*x^4
 + 60*b^2*c^3*d^3*x^3 + 8*b^2*c^2*d^3*x^2 - 3*(b^2*c^5*d^3*x^5 - 10*b^2*c^3*d^3*x^3 - 20*b^2*c^2*d^3*x^2 - 15*
b^2*c*d^3*x - 4*b^2*d^3)*log(c*x + 1)^2 - 3*(49*b^2*c^5*d^3*x^5 - 10*b^2*c^3*d^3*x^3 - 20*b^2*c^2*d^3*x^2 - 15
*b^2*c*d^3*x - 4*b^2*d^3)*log(-c*x + 1)^2 + 12*(25*b^2*c^4*d^3*x^4 + 12*b^2*c^3*d^3*x^3 + 5*b^2*c^2*d^3*x^2 +
b^2*c*d^3*x)*log(c*x + 1) - 6*(50*b^2*c^4*d^3*x^4 + 24*b^2*c^3*d^3*x^3 + 10*b^2*c^2*d^3*x^2 + 2*b^2*c*d^3*x -
(b^2*c^5*d^3*x^5 - 10*b^2*c^3*d^3*x^3 - 20*b^2*c^2*d^3*x^2 - 15*b^2*c*d^3*x - 4*b^2*d^3)*log(c*x + 1))*log(-c*
x + 1))/x^5

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{a^{2} c^{3} d^{3} x^{3} + 3 \, a^{2} c^{2} d^{3} x^{2} + 3 \, a^{2} c d^{3} x + a^{2} d^{3} +{\left (b^{2} c^{3} d^{3} x^{3} + 3 \, b^{2} c^{2} d^{3} x^{2} + 3 \, b^{2} c d^{3} x + b^{2} d^{3}\right )} \operatorname{artanh}\left (c x\right )^{2} + 2 \,{\left (a b c^{3} d^{3} x^{3} + 3 \, a b c^{2} d^{3} x^{2} + 3 \, a b c d^{3} x + a b d^{3}\right )} \operatorname{artanh}\left (c x\right )}{x^{6}}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*d*x+d)^3*(a+b*arctanh(c*x))^2/x^6,x, algorithm="fricas")

[Out]

integral((a^2*c^3*d^3*x^3 + 3*a^2*c^2*d^3*x^2 + 3*a^2*c*d^3*x + a^2*d^3 + (b^2*c^3*d^3*x^3 + 3*b^2*c^2*d^3*x^2
 + 3*b^2*c*d^3*x + b^2*d^3)*arctanh(c*x)^2 + 2*(a*b*c^3*d^3*x^3 + 3*a*b*c^2*d^3*x^2 + 3*a*b*c*d^3*x + a*b*d^3)
*arctanh(c*x))/x^6, x)

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} d^{3} \left (\int \frac{a^{2}}{x^{6}}\, dx + \int \frac{3 a^{2} c}{x^{5}}\, dx + \int \frac{3 a^{2} c^{2}}{x^{4}}\, dx + \int \frac{a^{2} c^{3}}{x^{3}}\, dx + \int \frac{b^{2} \operatorname{atanh}^{2}{\left (c x \right )}}{x^{6}}\, dx + \int \frac{2 a b \operatorname{atanh}{\left (c x \right )}}{x^{6}}\, dx + \int \frac{3 b^{2} c \operatorname{atanh}^{2}{\left (c x \right )}}{x^{5}}\, dx + \int \frac{3 b^{2} c^{2} \operatorname{atanh}^{2}{\left (c x \right )}}{x^{4}}\, dx + \int \frac{b^{2} c^{3} \operatorname{atanh}^{2}{\left (c x \right )}}{x^{3}}\, dx + \int \frac{6 a b c \operatorname{atanh}{\left (c x \right )}}{x^{5}}\, dx + \int \frac{6 a b c^{2} \operatorname{atanh}{\left (c x \right )}}{x^{4}}\, dx + \int \frac{2 a b c^{3} \operatorname{atanh}{\left (c x \right )}}{x^{3}}\, dx\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*d*x+d)**3*(a+b*atanh(c*x))**2/x**6,x)

[Out]

d**3*(Integral(a**2/x**6, x) + Integral(3*a**2*c/x**5, x) + Integral(3*a**2*c**2/x**4, x) + Integral(a**2*c**3
/x**3, x) + Integral(b**2*atanh(c*x)**2/x**6, x) + Integral(2*a*b*atanh(c*x)/x**6, x) + Integral(3*b**2*c*atan
h(c*x)**2/x**5, x) + Integral(3*b**2*c**2*atanh(c*x)**2/x**4, x) + Integral(b**2*c**3*atanh(c*x)**2/x**3, x) +
 Integral(6*a*b*c*atanh(c*x)/x**5, x) + Integral(6*a*b*c**2*atanh(c*x)/x**4, x) + Integral(2*a*b*c**3*atanh(c*
x)/x**3, x))

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (c d x + d\right )}^{3}{\left (b \operatorname{artanh}\left (c x\right ) + a\right )}^{2}}{x^{6}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*d*x+d)^3*(a+b*arctanh(c*x))^2/x^6,x, algorithm="giac")

[Out]

integrate((c*d*x + d)^3*(b*arctanh(c*x) + a)^2/x^6, x)